package com.mao.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;

/**
 * Author: Administrator
 * Date: 2021/5/19 21:00
 * Description:
 */
@Component
@Data
@AllArgsConstructor
@NoArgsConstructor
// 在企业中，我们的所有 pojo都会序列化 Springboot
public class User implements Serializable {

    private String name;
    private int age;

}
